body {
    list-style: none;
    text-decoration: none;
}

.bigbox {
    width: 100%;
    box-sizing: border-box;
}

//切换题目
header {
    width: 100%;
    height: 1.6rem;
    box-sizing: border-box;
    padding-left: 0, 6rem;
    background-color: #726fff;
    position: fixed;
    display: flex;
    right: 0px;
    top: 0px;

    p {
        font-size: 0.32rem;
        color: #c3c2fb;
    }

    span {
        width: 1.6rem;
        line-height: 0.4rem;
        font-size: 0.4rem;
        font-weight: 700;
        color: #ffff;
        // color: #eaff00;

    }

    .d1 {
        width: 5.2rem;
        margin-right: 0.8rem;

        .img {
            width: 0.2667rem;
            height: 0.4rem;
            margin-left: 0.6rem;
            margin-top: 0.5467rem;
            margin-right: 0.1333rem;
        }
    }

    .d2 {
        width: 1.4667rem;
        margin-right: 0.4rem;
        margin-top: 0.5rem;
        text-align: center;

        p {
            font-size: 0.32rem;
            color: #c3c2fb;
        }

        .sp2 {
            color: #eaff00;
        }
    }

    .d3 {
        width: 1.6667rem;
        margin-top: 0.5rem;
        text-align: center;

        .sp3 {
            color: #eaff00;
        }
    }

}

//试题内容
main {
    width: 100%;
    padding: 2.2rem 0.5333rem 0rem;
    box-sizing: border-box;

    //题目
    .title {
        width: 100%;

        p {
            width: 1.07rem;
            height: 0.5rem;
            border-radius: 0.05rem;
            background-color: #a2a1e4;
            font-size: 0.2667rem;
            text-align: center;
            line-height: 0.5rem;
            font-size: 0.27rem;
            display: inline-block;
            color: #ffffff;
        }

        span {
            font-size: 0.4rem;
            margin-left: 0.27rem;
            color: #333333;
            line-height: 0.67rem;
        }
    }

    //选项
    .option {
        margin-top: 0.6667rem;

        input {
            // display: block;
            margin-bottom: 0.6333rem;
        }

        label {
            font-size: 0.4rem;
        }

        .active {
            color: #6966eb;
        }
    }

    //答案解析
    .answer {
        margin-bottom: 0.53rem;
        width: 100%;
        padding: 0.67rem 0.4rem;
        background-color: #f4f4f4;
        border-radius: 0.2rem;
        box-sizing: border-box;

        img {
            width: 0.43rem;
            height: 0.43rem;
            border-radius: 0.05rem;
            vertical-align: middle;

        }

        .spp {
            vertical-align: middle;
            font-size: 0.4rem;
            color: #ff4b50;

        }

        .rightAnswer {
            color: #6966eb;
        }

        p {
            margin-top: 0.2667rem;
            margin-bottom: 0.2667rem;
            font-size: 0.4rem;
            color: #333333;

            i {
                color: #ff4b50;
                font-style: normal;
            }

            &:last-child {
                line-height: 0.6rem;
            }

        }
    }
}

//底部功能
footer {
    width: 100%;
    height: 1.33rem;
    position: fixed;
    right: 0rem;
    bottom: 0rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    border-top: 0.01rem solid rgb(146, 142, 142);

    .one {
        font-size: 0.32rem;
        margin-left: 0.53rem;
        color: #8f8a8a;
    }

    .three {
        width: 3.47rem;
        height: 0.93rem;
        background-color: #726fff;
        border-radius: 0.47rem;
        text-align: center;
        font-size: 0.4rem;
        color: #ffffff;

        p {
            line-height: 0.93rem;
        }
    }

    .four {
        margin-right: 0.53rem;

        img {
            width: 0.32rem;
            height: 0.3333rem;
            vertical-align: middle;
        }

        span {
            vertical-align: middle;
        }
    }

}

.footer2 {
    width: 100%;
    height: 1.33rem;
}

//题目列表
.grayy {
    display: none;
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 10;
    background-color: rgba($color: #000000, $alpha: 0.5);

    .list {
        &.fade {
            animation: fade .4s linear both;
        }

        width: 100%;
        height: 10rem;
        position: fixed;
        left: 0;
        bottom: 0;
        z-index: 11;
        background-color: #ffffff;


        .on {
            width: 100%;
            height: 1.47rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 0.01rem solid rgb(200, 198, 198);

            .one {
                font-size: 0.32rem;
                margin-left: 0.53rem;
                color: #8f8a8a;
            }

            .three {
                width: 3.47rem;
                height: 0.93rem;
                background-color: #726fff;
                border-radius: 0.47rem;
                text-align: center;
                font-size: 0.4rem;
                color: #ffffff;

                p {
                    line-height: 0.93rem;
                }
            }

            .four {
                margin-right: 0.53rem;

                img {
                    width: 0.32rem;
                    height: 0.3333rem;
                    vertical-align: middle;
                }

                span {
                    vertical-align: middle;
                }
            }
        }

        //单选题
        .danxuan {
            width: 8.92rem;
            margin-top: 0.67rem;
            margin-left: 0.6rem;

            p {
                font-size: 0.4rem;
                font-weight: bold;
                color: #333333;
            }

            .tihao {
                display: flex;
                flex-wrap: wrap;
                margin-top: 0.4rem;

                .one {
                    width: 1.2rem;
                    height: 1.2rem;
                    border-radius: 50%;
                    margin-right: 0.35rem;
                    color: #726fff;
                    background-color: #dbdaff;
                    text-align: center;
                    line-height: 1.2rem;
                    margin-bottom: 0.1333rem;
                    font-size: 0.4rem;
                    position: relative;

                    &.notChoose {
                        color: #ff3232;
                        background-color: #ffb9b9;
                    }

                    .fa {
                        position: absolute;
                        top: 0rem;
                        right: 0rem;
                        color: #fe8545;
                    }
                }
            }
        }

        //多选题
        .duoxuan {
            width: 8.92rem;
            height: 3.6667rem;
            margin-left: 0.6rem;
            margin-top: 0.4rem;

            p {
                font-size: 0.4rem;
                color: #333333;
            }

            .tihao2 {
                display: flex;
                flex-wrap: wrap;
                margin-top: 0.4rem;

                div {
                    width: 1.2rem;
                    height: 1.2rem;
                    border-radius: 50%;
                    margin-right: 0.3467rem;
                    ;
                    color: #726fff;
                    background-color: #dbdaff;
                    text-align: center;
                    line-height: 1.2rem;
                    margin-bottom: 0.1333rem;
                }
            }

        }
    }
}

/*下一页-->向上翻-->显示*/
@keyframes fade {
    from {
        transform: translateY(0%);
    }

    to {
        transform: translateY(100%);
    }
}